package com.kt.delivery.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName WxPay
 * @Description TODO
 * @Author ghs
 * @Date 2024-04-01 23:51
 * @Version 1.0
 */
@Data
@ConfigurationProperties(prefix ="wxpay" )
@Component
public  class WxPayConfig {

    private String appId;

    /**
     * 商户id
     */
    private String mchId;

    /**
     * 商户序列号
     */
    private String mchKey;

    private String apiV3Key;

    /**
     * 商户私钥地址
     */
    private String privateKeyPath;

    /** 商户API私钥路径 */
    private String privateKeyPathC = "C:\\Users\\Administrator\\Desktop\\1651546443_20240402_cert\\apiclient_key.pem";

    /** Linux 商户API私钥路径 */
    private String privateKeyPathLinux = "/www/V3Api/apiclient_key.pem";


}
